package 线性表;

import java.util.*;

public class selistest2 {
    public static void main(String[] args) {
        SequenceList<String> s1 =  new SequenceList<>(8);
        s1.indexOf("niubi");
        s1.indexOf("niua");
        s1.indexOf("niucha");
        s1.indexOf("niuza");
        System.out.println("fuckyou---------------");
        Iterator it = s1.iterator();
        while(it.hasNext()){
            System.out.println(it.next());
        }
    }
}
